import 'package:flutter/material.dart';

class LoginForgetInputDecoration extends InputDecoration {
  LoginForgetInputDecoration({
    String hintText = '',
    Widget? prefixIcon,
    Widget? suffixIcon,
    double horizontal = 15,
  }) : super(
          prefixIconConstraints: BoxConstraints(minWidth: 0, minHeight: 0),
          suffixIcon: suffixIcon,
          counterText: '',

          hintStyle: TextStyle(
            color: Colors.black.withOpacity(0.4),
            fontSize: 16,
          ),
          focusColor: Colors.black,
          contentPadding:
              EdgeInsets.symmetric(vertical: 10, horizontal: horizontal),
          enabledBorder: OutlineInputBorder(
            borderRadius: BorderRadius.all(
              Radius.circular(8),
            ),
            borderSide: BorderSide(color: Colors.transparent),
          ),
          focusedBorder: OutlineInputBorder(
            borderRadius: BorderRadius.all(
              Radius.circular(8),
            ),
            borderSide: BorderSide(color: Colors.transparent),
          ),
          errorBorder: InputBorder.none,
          errorStyle: TextStyle(height: 0),
          focusedErrorBorder: InputBorder.none,

          // filled: true,
          hintText: hintText,
          prefixIcon: prefixIcon,
          // fillColor: Colors.white38,
        );
}
